namespace LuckyLang.AST.Expression.ValueTyre;

public class BoolValue : Value
{

    public BoolValue(bool     theValue) => TheValue = theValue;
    public bool And(BoolValue other) => (bool)other.TheValue && (bool)TheValue;
    public bool Or(BoolValue  other) => (bool)other.TheValue || (bool)TheValue;
    public bool Not()                => !(bool)TheValue;
}